﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using Microsoft.Ccr.Core;
using Microsoft.Dss.Core.Attributes;
using Microsoft.Dss.ServiceModel.Dssp;
using Microsoft.Dss.ServiceModel.DsspServiceBase;
using W3C.Soap;
using Microsoft.Dss.Services.SubscriptionManager;
using Microsoft.Xna.Framework;

namespace ArduinoGenericOrientationSensor.Messages
{
    public class SensorStateResponse : Update<SensorStateResponseRequest, PortSet<DefaultUpdateResponseType, Fault>>
    {
        public SensorStateResponse()
            : base(new SensorStateResponseRequest())
        {

        }
    }

    [DataContract(Namespace = "ArduinoGenericOrientationSensor")]
    [LocalizedDescription("Messages_SensorStateResponse_Description")]
    public class SensorStateResponseRequest : TasksLibrary.TaskMessageRequest
    {
        public SensorStateResponseRequest()
            : base()
        {

        }

        [DataMember]
        [LocalizedDescription("Messages_SensorStateResponse_Name_Description")]
        public string ModelName
        {
            get;
            set;
        }

        [DataMember]
        [LocalizedDescription("Messages_SensorStateResponse_Orientation_Description")]
        public Quaternion Orientation
        {
            get;
            set;
        }


    }
}
